package org.tom.petcart.mapper;

import org.apache.ibatis.annotations.Param;
import org.tom.petcart.domain.ShopCart;
import org.tom.basic.mapper.BaseMapper;

import java.util.List;

public interface ShopCartMapper extends BaseMapper<ShopCart> {
    List<ShopCart> loadAllById(Long logininfoid);

    void delete(@Param("id") Long id, @Param("logininfoId") Long logininfoId);

    ShopCart loadOne(Long id);

    List<ShopCart> batchShopCatByids(List<Long> ids);
}
